package com.baizhi.cmfz.dao;

import com.baizhi.cmfz.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleDao {
    List<Article> showPageArticle(@Param("offset") int offset ,@Param("limit") int limit);
    int showCount();
    int insertArticle(Article article);
    int deleteArticle(int id);
    Article showOne(int id);
    int updateArticle(Article article);
    List<Article> showSix(int count);
}
